package com.zhongwang.mms.module.half.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.format.NumberFormat;
import lombok.Data;

import java.util.Date;

/**
 * @description:出入库导出类
 * @author: th
 * @time: 2020/7/2 10:13
 */
@Data
public class HOrderDetailExport {

    @ExcelProperty(value = "单据类型",index = 0)
    private String odrOutTypeName;
    @ExcelProperty(value = "物料描述（铝料类型）",index = 1)
    private String odaMatName;
    @ExcelProperty(value = "图号（模具号）",index = 2)
    private String odaDrawingCode;
    @ExcelProperty(value = "数量",index = 3)
    @NumberFormat("#.##")
    private Double odaNum;
    @ExcelProperty(value = "单位",index = 4)
    private String odaUnit;
    @ExcelProperty(value = "总重量（KG）",index = 5)
    @NumberFormat("#.###")
    private Double odaWeight;
    @ExcelProperty(value = "单价（元）",index = 6)
    @NumberFormat("#.##")
    private Double odaPrice;
    @ExcelProperty(value = "金额（元）",index = 7)
    @NumberFormat("#.##")
    private Double odaAmount;
    @ExcelProperty(value = "项目编号",index = 8)
    private String odaProCode;
    @ExcelProperty(value = "项目名称",index = 9)
    private String odaProName;
    @ExcelProperty(value = "跟踪号",index = 10)
    private String odaTrackCode;
    @ExcelProperty(value = "记账日期",index = 11)
    @DateTimeFormat("yyyy/MM/dd")
    private Date odaStorageDate;
    @ExcelProperty(value = "制单时间",index = 12)
    @DateTimeFormat("yyyy/MM/dd")
    private Date odrDate;
    @ExcelProperty(value = "往来部门",index = 13)
    private String odrDeptName;
    @ExcelProperty(value = "制单人",index = 14)
    private String odrTakePerson;
}
